package com.boge.study.design_pattern.observer.pull_model;

import lombok.Getter;

/**
 * 具体的目标对象，负责把有关状态存入到相应的观察者对象中
 */
@Getter
public class ConcreteWeatherSubject extends WeatherSubject {

    private String weatherContent;

    public void setWeatherContent(String weatherContent) {
        this.weatherContent = weatherContent;
        this.notifyObservers();
    }
}
